<template>
  <div>
    
    <!-- 一级菜单下面所拥有的二级菜单 -->
    <el-aside>
      <SideMenu :itemList='itemList'></SideMenu>
    </el-aside>
    <!-- 以及二级菜单所对应的页面 -->
    <el-main>
      <router-view></router-view>
    </el-main>

  </div>
</template>

<script>
import SideMenu from '@/components/sidemenu/SideMenu';
export default {
  components: {
    SideMenu
  },
  data(){
    return{
      itemList: [
        { path: 'park-record',title:'临停订单'},
        { path: 'white-list', title: '白名单' },
        { path: 'black-list', title: '黑名单' },
        { path: 'monthly-list', title: '月租管理' },
      ]
    }
  }
}
</script>